/**
 * 数据校验
 */
function DataCheck(form, flag) {
    for (let key in form) {
        if (form[key] === '' || flag.includes(false)) {
            return false;
        }
    }
    return true;
}
function getLen(form) {
    let length=0;
    for (let len in form) {
        length++;
    }
    return length;
}

export default DataCheck